package com.punch.order.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.punch.common.model.SuperEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * MaterialSettlement-教具结算信息
 *
 * @author wujj
 * @version 1.0.0
 * @since 2020/9/26 1:11
 */
@Data
@Accessors(chain = true)
@TableName("material_settlement")
public class MaterialSettlement extends SuperEntity<MaterialSettlement> {
    /**
     * 供应商id
     */
    @TableField("supplier_id")
    private Long supplierId;

    /**
     * 供应商名称
     */
    @TableField("supplier_name")
    private String supplierName;

    /**
     * 课程id
     */
    @TableField("course_id")
    private Long courseId;

    /**
     * 供应商名称
     */
    @TableField("course_name")
    private String courseName;

    /**
     * 班级id
     */
    @TableField("course_class_id")
    private Long courseClassId;

    /**
     * 班级名称
     */
    @TableField("course_class_name")
    private String courseClassName;

    /**
     * 学校id
     */
    @TableField("school_id")
    private Long schoolId;

    /**
     * 学校名称
     */
    @TableField("school_name")
    private String schoolName;

    /**
     * 教具名称
     */
    @TableField("material_name")
    private String materialName;

    /**
     * 学校名称
     */
    @TableField("price")
    private BigDecimal price;

    /**
     * 购买人数
     */
    @TableField("buy_count")
    private Integer buyCount;

    /**
     * 结算状态 0-待确认 1-已确认 2-已打款
     */
    @TableField("settlement_status")
    private Integer settlementStatus;

    /**
     * 结算金额
     */
    @TableField("settlement_amount")
    private BigDecimal settlementAmount;

}
